package {{basePackage}}.mapper;

import {{basePackage}}.entity.{{entityName}};
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * {{tableComment}} Mapper接口
 * 
 * @author {{author}}
 * @version {{version}}
 * @since {{createTime}}
 */
@Mapper
public interface {{entityName}}Mapper extends BaseMapper<{{entityName}}> {

    {{#if hasCustomQueries}}
    {{#each customQueries}}
    /**
     * {{description}}
     */
    {{returnType}} {{methodName}}({{#each params}}@Param("{{name}}") {{type}} {{name}}{{#unless @last}}, {{/unless}}{{/each}});

    {{/each}}
    {{/if}}

    // 关联关系查询方法将在后续版本中支持
}
